package com.bawei.movie

import com.bawei.common.mvi.BaseUiState
import com.bawei.common.entity.MovieEntity
import com.bawei.movie.entity.MovieTabEntity

sealed class MovieUiState: BaseUiState(){
    object LoadEmpty: MovieUiState()
    data class LoadMovieTypeSuccess(val list: List<MovieTabEntity>): MovieUiState()
    data class LoadMovieTypeFail(val msg: String): MovieUiState()
    data class LoadMovieTypeByIdSuccess(val list: List<MovieTabEntity>) : MovieUiState()
    data class LoadMovieTypeByIdFail(val msg: String) : MovieUiState()
    data class LoadMovieListSuccess(val list: List<MovieEntity>) : MovieUiState()
    data class LoadMovieListFail(val msg: String) : MovieUiState()
}
